package com.wh.base.sys.other.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Pny
 * @Date 2022/5/20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_other")
public class Other implements Serializable {

//    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
//姓名
    private String name;
//身份证号
    private String cardNumber;
//学号
    private String studentNumber;
//证书名称
    private String certName;
//证书编号
    private String certSerial;
//证书类型
    private String certType;
//发证日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date licenceIssued;
//创建人
    private String createUser;
//创建时间
    private Date createTime;
//修改人
    private String updateUser;
//修改时间
    private Date updateTime;

    private int isDelete;

}
